home *** CD-ROM | disk | FTP | other *** search
-
- FONTFILE.DOC
- ============
-
- [A short essay by Jim Breen.]
-
- This document briefly describes the main 16x16 bit-mapped font files used by
- quite a lot of software running under DOS and Windows to display Japanese
- text. All of the files described here are in the Public Domain.
-
- All these files are binary files, with each character stored as 32 bytes.
- Each pair of bytes within the character represents a row, but the bit-order
- of each byte is reversed (it was done this way back in the dark ages of slow
- XTs to speed up display.)
-
-
- FONT FILES FOR JIS X 0208
- -------------------------
-
- The very first font-files to come into regular use on non-Japanese PCs were
-
- K16JIS1.FNT and
- K16JIS2.FNT
-
- These contained the JIS X 0208-1983 character set, with the Level 2 kanji
- being split into the second file. They were used a lot in the earlier
- software, and still are used in quite a few programs. I don't know for sure
- who compiled them, but I think it was either Izumi Ohzawa, who wrote the
- original KD (Kanji Driver), or Seiichi Nomura and Seke Wei who wrote the
- "jis.pas" on which was based. A feature of these files is that the gaps in
- the set have been closed up, and hence software using the files must use a
- table to map the kanji code to the file offset. In JDIC/JREADER I use a
- table taken from KD, and I suspect Mark Edwards did the same in MOKE and KG.
-
- These files are available all over the place.
-
- When he released Version 2.1 of MOKE, Mark Edwards began using another
- 16-bit file:
-
- KIJIS16.FNT
-
- This file had the same contents as the K16JIS*.FNT files, but the two kanji
- levels were put in the one file, and there was no closure of the gaps, so
- that an offset could be simply calculated from the kanji code. I started
- using this font file as the preferred alternative in JDIC/JREADER. I think
- Mark did not intend the file to be PD, but released it in his Shareware
- WinJDic a couple of years later.
-
- In December 1995, I rebuilt KIJIS16.FNT file using the 16-bit "bdf" file for
- the JIS X 0208-1990 set. This updated file includes the two extra kanji
- which were added to JIS X 0208 in the 1990 revision, and has the kanji in
- the forms documented in the JIS standard (the earlier file had some kanji in
- a highly simplified form.) I continued to use the same name, as it is
- hard-coded into much of the software. To tell the files apart, look at the
- dates and sizes.
-
- Mark Edwards' original is:
-
- KIJIS16 FNT 256,272 02/02/92 10:56
-
- and my rebuilt version is:
-
- KIJIS16 FNT 252,672 10/12/95 0:58
-
- (Don't ask me why the older file is bigger.)
-
- My own JDIC/JREADER software will use the KIJIS16>FNT file, if it is
- available, otherwise the K16JIS*.FNT files will be used.
-
-
- FONT FILES FOR ASCII
- --------------------
-
- Also in MOKE 2.1, Mark introduced a small 16-bit font file of ASCII
- characters which look a bit better than the "bgi" fonts available with the
- Borland Graphics library. He made the file (KIASCII.FNT) available to
- everyone.
-
- KIASCII FNT 3,584 02/02/92 10:39
-
-
- FONT FILE FOR JIS 0212
- ----------------------
-
- In November 1995, I created a font file for the JIS X 0212-1990 character
- set, which comprises some additional special characters and an extra 5,801
- kanji. This file was created from the "bdf" file commonly used with "mule"
- (the multi-lingual extension to emacs), which is one of the few editors
- cpable of handling these characters. The file is:
-
- JIS21216 FNT 231,616 25/11/95 0:40
-
- At the time of writing, the only software to use this file is the beta-test
- version 2.6 of my own JREADER program, which has been modified to handle the
- EUC Code 3 in which the JIS X 0212 characters are encoded.
-
-
- Jim Breen
- jwb@rdt.monash.edu.au
- December 1995
-